package com.lottery.system.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: xiaoxie
 * create: 2024-09-16 19:11
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.param
 * description: 展示中奖名单接口的参数
 */
@Data
public class WinningRecordParam implements Serializable {
    /**
     * 活动id
     */
    @NotNull(message = "活动id禁止为空!")
    private Long activityId;
    /**
     *  奖品id 如果为空就查询活动维度的记录,如果有就查询奖品维度的记录
     */
    private Long prizeId;
}
